package cn.stylefeng.guns.modular.yingbao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 金额相关设置
 * </p>
 *
 * @author jj
 * @since 2019-12-23
 */
@TableName("yingbao_user_money_setting")
public class UserMoneySetting implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 冻结金额设置
     */
    @TableField("frozen_capital")
    private Long frozenCapital;

    /**
     * 冻结返利
     */
    @TableField("frozen_rebate")
    private Long frozenRebate;

    /**
     * 最低可用挂售金额
     */
    @TableField("min_avail_setting")
    private Long minAvailSetting;

    /**
     * 最高可用挂售金额
     */
    @TableField("max_avail_setting")
    private Long maxAvailSetting;

    /**
     * 最低返利挂售金额
     */
    @TableField("min_expand_setting")
    private Long minExpandSetting;

    /**
     * 最高返利挂售金额
     */
    @TableField("max_expand_setting")
    private Long maxExpandSetting;

    /**
     * 最低推广挂售金额
     */
    @TableField("min_rebate_setting")
    private Long minRebateSetting;

    /**
     * 最高推广挂售金额
     */
    @TableField("max_rebate_setting")
    private Long maxRebateSetting;

    /**
     * 冻结天数
     */
    @TableField("frozen_day")
    private Long frozenDay;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getFrozenCapital() {
        return frozenCapital;
    }

    public void setFrozenCapital(Long frozenCapital) {
        this.frozenCapital = frozenCapital;
    }

    public Long getFrozenRebate() {
        return frozenRebate;
    }

    public void setFrozenRebate(Long frozenRebate) {
        this.frozenRebate = frozenRebate;
    }

    public Long getMinAvailSetting() {
        return minAvailSetting;
    }

    public void setMinAvailSetting(Long minAvailSetting) {
        this.minAvailSetting = minAvailSetting;
    }

    public Long getMaxAvailSetting() {
        return maxAvailSetting;
    }

    public void setMaxAvailSetting(Long maxAvailSetting) {
        this.maxAvailSetting = maxAvailSetting;
    }

    public Long getMinExpandSetting() {
        return minExpandSetting;
    }

    public void setMinExpandSetting(Long minExpandSetting) {
        this.minExpandSetting = minExpandSetting;
    }

    public Long getMaxExpandSetting() {
        return maxExpandSetting;
    }

    public void setMaxExpandSetting(Long maxExpandSetting) {
        this.maxExpandSetting = maxExpandSetting;
    }

    public Long getMinRebateSetting() {
        return minRebateSetting;
    }

    public void setMinRebateSetting(Long minRebateSetting) {
        this.minRebateSetting = minRebateSetting;
    }

    public Long getMaxRebateSetting() {
        return maxRebateSetting;
    }

    public void setMaxRebateSetting(Long maxRebateSetting) {
        this.maxRebateSetting = maxRebateSetting;
    }

    public Long getFrozenDay() {
        return frozenDay;
    }

    public void setFrozenDay(Long frozenDay) {
        this.frozenDay = frozenDay;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "UserMoneySetting{" +
                "id=" + id +
                ", frozenCapital=" + frozenCapital +
                ", frozenRebate=" + frozenRebate +
                ", minAvailSetting=" + minAvailSetting +
                ", maxAvailSetting=" + maxAvailSetting +
                ", minExpandSetting=" + minExpandSetting +
                ", maxExpandSetting=" + maxExpandSetting +
                ", minRebateSetting=" + minRebateSetting +
                ", maxRebateSetting=" + maxRebateSetting +
                ", frozenDay=" + frozenDay +
                ", createTime=" + createTime +
                '}';
    }
}
